package com.streamkar.entity.base;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Date;

public abstract class OperateEntity extends IdEntity {

    private static final long serialVersionUID = 6339468883299171311L;

    public static final Integer STATUS_NORMAL = 0;
    public static final Integer STATUS_DELETE = 1;

    @JsonIgnore
    protected Integer status = 0;

    @JsonIgnore
    protected Date createTime;
    @JsonIgnore
    protected String createUserCode;

    @JsonIgnore
    protected Date updateTime;
    @JsonIgnore
    protected String updateUserCode;
    @JsonIgnore
    protected String remark;


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUserCode() {
        return createUserCode;
    }

    public void setCreateUserCode(String createUserCode) {
        this.createUserCode = createUserCode;
    }

    public String getUpdateUserCode() {
        return updateUserCode;
    }

    public void setUpdateUserCode(String updateUserCode) {
        this.updateUserCode = updateUserCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
